//公共参数
//李金宇
//http://192.168.3.169:9100/logistics-restful-api/

//var host = "http://121.43.198.30:50020/logistics-restful-api/"
//var host = "http://192.168.3.169:9100/logistics-restful-api/"
//var host = "https://b114.feiyang56.cn/logistics-restful-api/"
var host = "http://localhost:8089/restful/"
const config = {
  appid: "wx0b6451898bbbf8b9",
  host,
  // 用code换取openId
  openIdUrl: `${host}wxUtil/getOpenId`,
  // 登录地址，用于建立会话
  loginUrl: `${host}login`,
  // 注册保存接口
  registerUrl: `${host}login/register`,
  // 上传文件接口
  uploadFileUrl: `https://b178.feiyang56.cn/fileuploader/upload?action=uploadimage&savePath=/wx/`,
  //修改用户信息接口
  modifyUserUrl: host + 'user/editUserInfo',
  //查询物流公司列表
  findTenantUrl: host + 'tenant/findTenant',
  //查询银行列表
  bankListUrl: host + 'bankInfo/search',
  //新增银行信息
  bankAddUrl: host + 'bankInfo/add',
  //删除银行信息
  bankDelUrl: host + 'bankInfo/delete',
  //获取一卡通列表
  oneCardListUrl: host + 'vipCard/getVipCardInfo',
  //根据银行卡号获取银行名
  getBankNameUrl: 'https://ccdcapi.alipay.com/validateAndCacheCardInfo.json?_input_charset=utf-8&cardBinCheck=true&cardNo=',
  //手机号，修改密码
  forgetPassUrl: host + 'user/editPass',
  // 请求地址
  requestUrl: host,
  //显示图片
  showFileUrl: "https://b178.feiyang56.cn/fileuploader/",
  //金融代码
  tenantCode: "M6214", 
  tenantName: "介休全则车"
  // mobile:"13895765718",
  // mobile: "13069893837",
  // userId:"766387326775799808"

};

module.exports = config
